<?php /* Smarty version 2.6.18, created on 2011-08-12 10:50:20
         compiled from bao_tri_par_fdintcddetail.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'Bao tri lien ket')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="195">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td colspan="3" align="right" nowrap="nowrap">
  
  <div align="right">
    <select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
      
    
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      
    
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
      
    
 	<?php endforeach; endif; unset($_from); ?>

  
    </select>  
    <input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'"/>  
  </div></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_maKH']; ?>
</td>
    <td style="color:#FF0000"><input name="TERMINTCD" id="TERMINTCD" type="text" style="background:<?php echo $this->_tpl_vars['colorTERMINTCD']; ?>
" value="<?php echo $this->_tpl_vars['TERMINTCD']; ?>
" size="20" maxlength="10" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> readonly="readonly" <?php endif; ?> />
      *
        <input type="submit" name="find" value="    " id="replacement_find"></td>
	<td><?php echo $this->_tpl_vars['lbl_TrangThai']; ?>
</td>
	<td><span style="color:#FF0000">
	  <select name="STATUS" size="1" style="background:<?php echo $this->_tpl_vars['colorSTATUS']; ?>
"; >
	    
      
      <?php $_from = $this->_tpl_vars['cbo_STATUS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
	  	
      
	    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['STATUS']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>
	    
      
      <?php endforeach; endif; unset($_from); ?>
    
    
	    </select>
	*</span><input name="hiddenSTATUS" type="hidden" value="<?php echo $this->_tpl_vars['hiddenSTATUS']; ?>
" /></td></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_KyHanTu']; ?>
</td>
    <td width="276"><input name="FRMTERM" id="FRMTERM" type="text" value="<?php echo $this->_tpl_vars['FRMTERM']; ?>
" style="background:<?php echo $this->_tpl_vars['colorFRMTERM']; ?>
; text-align:right"  size="3" maxlength="5" onkeypress="return numberOnly(event);" readonly="readonly"/>
        <select name="FRMTERMCD" size="1" disabled="disabled" >
          
    <?php $_from = $this->_tpl_vars['cboTERMCD']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
     
          <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FRMTERMCD']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>
          
    <?php endforeach; endif; unset($_from); ?>
    
        </select>
        <span style="color:#FF0000">*</span> <input name="hiddenFRMTERMCD" type="hidden" value="<?php echo $this->_tpl_vars['FRMTERMCD']; ?>
" /></td>
    <td width="152"><?php echo $this->_tpl_vars['lbl_KyHanDen']; ?>
 </td>
    <td width="678"><input name="TOTERM" id="TOTERM" type="text" value="<?php echo $this->_tpl_vars['TOTERM']; ?>
" style="background:<?php echo $this->_tpl_vars['colorTOTERM']; ?>
; text-align:right" size="3" maxlength="5" onkeypress="return numberOnly(event);" readonly="readonly"/>
        <select name="TOTERMCD" size="1" disabled="disabled">
          
        
        <?php $_from = $this->_tpl_vars['cboTERMCD']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
        
        
          <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TOTERMCD']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>
          
        
        <?php endforeach; endif; unset($_from); ?>
      
      
        </select>
        <span style="color:#FF0000">*</span> <input name="hiddenTOTERMCD" type="hidden" value="<?php echo $this->_tpl_vars['TOTERMCD']; ?>
" /></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_LaiSuat']; ?>
</td>
    <td><input name="INTRATE" type="text" style="background:<?php echo $this->_tpl_vars['colorlaisuat']; ?>
; text-align:right" value="<?php echo $this->_tpl_vars['INTRATE']; ?>
" size="20" maxlength="12" onblur="checkDecimal(this,this.value)" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/></td>
	<td><?php echo $this->_tpl_vars['lbl_MaLaiSuat']; ?>
</td>
	<td><span style="color:#FF0000">
	  <input name="INTRATECD" id="INTRATECD" type="text" style="background:<?php echo $this->_tpl_vars['colormaLS']; ?>
" value="<?php echo $this->_tpl_vars['INTRATECD']; ?>
" size="20" maxlength="5" />
*
<input type="button" onclick="mywindow = window.open('lai_suat_id.php?name=INTRATECD', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat" id="replacement_binoculars" value="     " />
	</span></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_SanPham']; ?>
</td>
    <td colspan="3"><span style="color:#FF0000">
      <select id="PRDCODE" name="PRDCODE" size="1"  style="background:<?php echo $this->_tpl_vars['colorPRDCODE']; ?>
;" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> disabled="disabled" <?php endif; ?>>
        <option value=""></option>
        <?php $_from = $this->_tpl_vars['cbo_PRDCODE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>  
        <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['PRDCODE'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
        <?php endforeach; endif; unset($_from); ?>  
       </select>
*
<input type="hidden" value="<?php echo $this->_tpl_vars['PRDCODE']; ?>
" id="PRDCODEtmp" name="PRDCODEtmp" />
    </span></td>
  </tr>
 
<tr>
<td colspan="4">
<p>&nbsp;</p></tr>
<tr>

<td colspan="4" align="right" nowrap="nowrap">
    <input type="button" name="cancle" id="cancle" value="<?php echo $this->_tpl_vars['ten_cancle']; ?>
" class="button_style" onclick="activeform(this.form,'TERMINTCD-STATUS-PRDCODE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="<?php echo $this->_tpl_vars['ten_cap_nhat']; ?>
" <?php if ($this->_tpl_vars['activefield'] == 'disabled'): ?>disabled="disabled" <?php endif; ?> class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td colspan="4" align="left" nowrap="nowrap">
<input name="addnew" type="submit" value="<?php echo $this->_tpl_vars['ten_themmoi']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="<?php echo $this->_tpl_vars['ten_chitiet']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>

<tr>
<td colspan="3">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
<?php echo $this->_tpl_vars['javascriptsetstyle']; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>